Turn --git on by default for `cargo-new`.
authorAlex Crichton <alex@alexcrichton.com>
Thu, 28 Aug 2014 20:22:36 +0000 (13:22 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 3 Sep 2014 21:00:16 +0000 (14:00 -0700)
commitde0f60410fbe4b17accab7e9889935596dea6be1
tree205d489193014ce3dbcc99686e078e65cdc2e29b
parent28bc3c65884cb207a223336bbca37535ff7bc1e8
Turn --git on by default for `cargo-new`.

This adds a command-line --no-git option to disable this behavior, as well as
adding a global config section for `git = false`. While I was at it I write some
documentation for the configuration format that cargo uses.
src/bin/new.rs
src/cargo/ops/cargo_new.rs
src/cargo/util/config.rs
src/doc/source/config.md [new file with mode: 0644]
src/doc/source/guide.md
src/doc/source/index.md
src/doc/source/layouts/layout.erb
tests/test_cargo_new.rs